#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include"vector.h"
using namespace std;
void test1()
{
	bit::vector<int> vv(3,1);
	vv.reserve(10);
	vv.resize(1, 0);
	for(auto v:vv)
	cout << v;
}
void test2()
{
	bit::vector<string> str(6,"abcdef");
	str.reserve(10);
	cout << str.capacity();
}
void test3()
{
	bit::vector<int> v1(4, 5);
	bit::vector<int> v3=v1;
	/*bit::vector<int> v3(v1);*/
	for (auto v : v3)
		cout << v;
}
void test4()
{
	bit::vector<int> vv(3, 1);
	vv.push_back(2);
	vv.pop_back();
	for (auto v : vv)
		cout << v;
}
void test5()
{
	bit::vector<int> vv(3, 1);
	bit::vector<int>::iterator it = vv.begin();
	/*vv.erase(it);*/
	vv.insert(it + 1, 5);
	for (auto v : vv)
		cout << v;
}
int main()
{
	test5();

	return 0;
}